package project1;
public class characters {
	public static String input;
	public char CurChar;
	public int CurIndex=0;
	public characters(){
		
	}
	//Tests
	public char GetCurChar(){
		if(CurIndex < input.length()){
			CurChar = input.charAt(CurIndex);
		} else {
			CurChar = Character.MAX_VALUE;
		}
		
		return CurChar;
	}
	public void MoveNext(){
		CurIndex++;
	}
	public void setIndex(int i){
		CurIndex = i;
	}
	@SuppressWarnings("static-access")
	public void SetInput(String input){
		this.input = input;
	}
	public static int getSize(){
		return input.length();
	}
	
}
